/**
 * Project Name:bfs_v1.0.1
 * File Name:PntenterController.java
 * Package Name:com.zeei.bfs.controller
 * Date:2017年2月16日下午2:54:33
 * Copyright (c) 2017, ZEEI All Rights Reserved. *
 *
 * ClassName:PntenterController 
 * Function: TODO ADD FUNCTION.  
 * @author   zws 
 * @since    JDK 1.8	 
 */

package com.zeei.bfs.controller;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

import com.zeei.bfs.service.PntenterService;
import com.zeei.common.controller.BasicController;
import com.zeei.common.vo.UserPntenterVO;

@Controller
@RequestMapping("/bfs/pntenter")
public class PntenterController extends BasicController {

	@Resource
	private PntenterService pntenterService;

	@RequestMapping(value = "/list", method = RequestMethod.POST)
	@ResponseBody
	public List<UserPntenterVO> queryUserPntenter(Integer userId, String type) {
		return pntenterService.queryPntenter(userId, type);
	}

}
